<h2>Choose a table</h2>
<?= $this->toto; ?>
<?php $url=$this->url(array(	'module'=>'codegenerator',
								'controller'=>'form',
								'action'=>'create'									
								)); ?>
<form id="tables" action="<?= $url; ?>" method="post"

onSubmit="javascript:location.href=this.table.value">

<?= $this->tableSelect($this->tables,$this) ?>
<?= $this->formSubmit('go','Go') ?>

</form>